import request from '@/utils/request'

export function queryPage(data) {
  return request({
    url: `/andon/type/page`,
    method: 'post',
    data: data
  })
}

export function Pushpage(data) {
  return request({
    url: `/andon/push/page`,
    method: 'post',
    data: data
  })
}

export function save(data) {
  return request({
    url: `/andon/type/save`,
    method: 'post',
    data: data
  })
}

export function query(data) {
  return request({
    url: `/andon/type/query`,
    method: 'get',
    params: data
  })
}

export function remove(data) {
  return request({
    url: `/andon/type/delete`,
    method: 'DELETE',
    data: data
  })
}
